package com.yuanqunsoft.alimigration.model;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * AllUser entity. @author MyEclipse Persistence Tools
 */

public class AllUser implements java.io.Serializable {

    // Fields

    private Integer userId;
    private String userPassword;
    private String userName;
    private String userEmail;
    private Short userStatus;
    private Short userLevel;
    private Timestamp userCreateTime;
    private Timestamp userLastLogin;
    private Short userPrivilege;
    private String userPhone;
    private String userFirstName;
    private String userLastName;
    private Set testings = new HashSet(0);
    private Set teams = new HashSet(0);
    private Set applications = new HashSet(0);
    private Set logs = new HashSet(0);
    private Set ruleSets = new HashSet(0);

    // Constructors

    /** default constructor */
    public AllUser() {
    }

    /** minimal constructor */
    public AllUser(String userPassword, String userName, String userEmail, Short userStatus, Short userLevel,
            Timestamp userCreateTime, Timestamp userLastLogin, Short userPrivilege, String userPhone,
            String userFirstName, String userLastName) {
        this.userPassword = userPassword;
        this.userName = userName;
        this.userEmail = userEmail;
        this.userStatus = userStatus;
        this.userLevel = userLevel;
        this.userCreateTime = userCreateTime;
        this.userLastLogin = userLastLogin;
        this.userPrivilege = userPrivilege;
        this.userPhone = userPhone;
        this.userFirstName = userFirstName;
        this.userLastName = userLastName;
    }

    /** full constructor */
    public AllUser(String userPassword, String userName, String userEmail, Short userStatus, Short userLevel,
            Timestamp userCreateTime, Timestamp userLastLogin, Short userPrivilege, String userPhone,
            String userFirstName, String userLastName, Set testings, Set teams, Set applications, Set logs,
            Set ruleSets) {
        this.userPassword = userPassword;
        this.userName = userName;
        this.userEmail = userEmail;
        this.userStatus = userStatus;
        this.userLevel = userLevel;
        this.userCreateTime = userCreateTime;
        this.userLastLogin = userLastLogin;
        this.userPrivilege = userPrivilege;
        this.userPhone = userPhone;
        this.userFirstName = userFirstName;
        this.userLastName = userLastName;
        this.testings = testings;
        this.teams = teams;
        this.applications = applications;
        this.logs = logs;
        this.ruleSets = ruleSets;
    }

    // Property accessors

    public Integer getUserId() {
        return this.userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserPassword() {
        return this.userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public String getUserName() {
        return this.userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserEmail() {
        return this.userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    public Short getUserStatus() {
        return this.userStatus;
    }

    public void setUserStatus(Short userStatus) {
        this.userStatus = userStatus;
    }

    public Short getUserLevel() {
        return this.userLevel;
    }

    public void setUserLevel(Short userLevel) {
        this.userLevel = userLevel;
    }

    public Timestamp getUserCreateTime() {
        return this.userCreateTime;
    }

    public void setUserCreateTime(Timestamp userCreateTime) {
        this.userCreateTime = userCreateTime;
    }

    public Timestamp getUserLastLogin() {
        return this.userLastLogin;
    }

    public void setUserLastLogin(Timestamp userLastLogin) {
        this.userLastLogin = userLastLogin;
    }

    public Short getUserPrivilege() {
        return this.userPrivilege;
    }

    public void setUserPrivilege(Short userPrivilege) {
        this.userPrivilege = userPrivilege;
    }

    public String getUserPhone() {
        return this.userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserFirstName() {
        return this.userFirstName;
    }

    public void setUserFirstName(String userFirstName) {
        this.userFirstName = userFirstName;
    }

    public String getUserLastName() {
        return this.userLastName;
    }

    public void setUserLastName(String userLastName) {
        this.userLastName = userLastName;
    }

    public Set getTestings() {
        return this.testings;
    }

    public void setTestings(Set testings) {
        this.testings = testings;
    }

    public Set getTeams() {
        return this.teams;
    }

    public void setTeams(Set teams) {
        this.teams = teams;
    }

    public Set getApplications() {
        return this.applications;
    }

    public void setApplications(Set applications) {
        this.applications = applications;
    }

    public Set getLogs() {
        return this.logs;
    }

    public void setLogs(Set logs) {
        this.logs = logs;
    }

    public Set getRuleSets() {
        return this.ruleSets;
    }

    public void setRuleSets(Set ruleSets) {
        this.ruleSets = ruleSets;
    }

}